package com.distributer.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.distributer.product.mapper.TestMapper;
import com.distributer.product.model.Test;
import com.distributer.product.service.TestService;

@Service
public class TestServiceImpl implements TestService{

	@Autowired 
	private TestMapper testMapper;
	
	@Override
	public void add(Test test) {
		testMapper.insert(test);
	}

	@Override
	public Test find(Integer id) {
		return testMapper.query(id);
	}

	
}
